pub const PATH_AUTH_LOGIN_APPLY: &str = "/api/v1/auth/login_apply";
pub const PATH_AUTH_LOGIN_SUBMIT: &str = "/api/v1/auth/login_submit";
pub const PATH_AUTH_REFRESH_TOKEN: &str = "/api/v1/auth/refresh_token";

pub const PATH_ENDPOINT_ADD: &str = "/api/v1/endpoint/add";
pub const PATH_ENDPOINT_LIST: &str = "/api/v1/endpoint/list";
pub const PATH_ENDPOINT_LIST_INFO: &str = "/api/v1/endpoint/list_info";
pub const PATH_ENDPOINT_GET: &str = "/api/v1/endpoint/get";
pub const PATH_ENDPOINT_GET_INFO: &str = "/api/v1/endpoint/get_info";
pub const PATH_ENDPOINT_UPDATE: &str = "/api/v1/endpoint/update";
pub const PATH_ENDPOINT_DELETE: &str = "/api/v1/endpoint/delete";
pub const PATH_ENDPOINT_EXISTS: &str = "/api/v1/endpoint/exists";

pub const PATH_ENDPOINT_SRV6_CONFIG_GET: &str = "/api/v1/endpoint.srv6_config/get";
pub const PATH_ENDPOINT_SRV6_CONFIG_UPDATE: &str = "/api/v1/endpoint.srv6_config/update";

pub const PATH_ENDPOINT_WIREGUARD_CONFIG_GET: &str = "/api/v1/endpoint.wireguard_config/get";
pub const PATH_ENDPOINT_WIREGUARD_CONFIG_UPDATE: &str = "/api/v1/endpoint.wireguard_config/update";

pub const PATH_ENDPOINT_PEER_ADD: &str = "/api/v1/endpoint.peer/add";
pub const PATH_ENDPOINT_PEER_LIST: &str = "/api/v1/endpoint.peer/list";
pub const PATH_ENDPOINT_PEER_GET: &str = "/api/v1/endpoint.peer/get";
pub const PATH_ENDPOINT_PEER_DELETE: &str = "/api/v1/endpoint.peer/delete";

pub const PATH_ENDPOINT_PEER_WIREGUARD_CONFIG_ADD: &str = "/api/v1/endpoint.peer.wireguard_config/add";
pub const PATH_ENDPOINT_PEER_WIREGUARD_CONFIG_GET: &str = "/api/v1/endpoint.peer.wireguard_config/get";
pub const PATH_ENDPOINT_PEER_WIREGUARD_CONFIG_UPDATE: &str = "/api/v1/endpoint.peer.wireguard_config/update";

pub const PATH_TE_POLICY_GROUP_ADD: &str = "/api/v1/te_policy_group/add";
pub const PATH_TE_POLICY_GROUP_LIST: &str = "/api/v1/te_policy_group/list";
pub const PATH_TE_POLICY_GROUP_GET: &str = "/api/v1/te_policy_group/get";
pub const PATH_TE_POLICY_GROUP_UPDATE: &str = "/api/v1/te_policy_group/update";
pub const PATH_TE_POLICY_GROUP_DELETE: &str = "/api/v1/te_policy_group/delete";

pub const PATH_CANDIDATE_PATH_ADD: &str = "/api/v1/candidate_path/add";
pub const PATH_CANDIDATE_PATH_LIST: &str = "/api/v1/candidate_path/list";
pub const PATH_CANDIDATE_PATH_LIST_INFO: &str = "/api/v1/candidate_path/list_info";
pub const PATH_CANDIDATE_PATH_GET: &str = "/api/v1/candidate_path/get";
pub const PATH_CANDIDATE_PATH_GET_INFO: &str = "/api/v1/candidate_path/get_info";
pub const PATH_CANDIDATE_PATH_UPDATE: &str = "/api/v1/candidate_path/update";

pub const PATH_CANDIDATE_PATH_SEGMENT_LIST_ADD: &str = "/api/v1/candidate_path.segment_list/add";
pub const PATH_CANDIDATE_PATH_SEGMENT_LIST_DELETE: &str = "/api/v1/candidate_path.segment_list/delete";

pub const PATH_NETWORK_ACL_ADD: &str = "/api/v1/network_acl/add";
pub const PATH_NETWORK_ACL_LIST: &str = "/api/v1/network_acl/list";
pub const PATH_NETWORK_ACL_GET: &str = "/api/v1/network_acl/get";
pub const PATH_NETWORK_ACL_UPDATE: &str = "/api/v1/network_acl/update";
pub const PATH_NETWORK_ACL_DELETE: &str = "/api/v1/network_acl/delete";

pub const PATH_NETWORK_ACL_RULE_SET_INGRESS_RULES: &str = "/api/v1/network_acl.rule/set_ingress_rules";
pub const PATH_NETWORK_ACL_RULE_SET_EGRESS_RULES: &str = "/api/v1/network_acl.rule/set_egress_rules";
pub const PATH_NETWORK_ACL_RULE_ALL_INGRESS_RULES: &str = "/api/v1/network_acl.rule/all_ingress_rules";
pub const PATH_NETWORK_ACL_RULE_ALL_EGRESS_RULES: &str = "/api/v1/network_acl.rule/all_egress_rules";

pub const PATH_TRAFFIC_STEERING_RULE_ADD: &str = "/api/v1/traffic_steering_rule/add";
pub const PATH_TRAFFIC_STEERING_RULE_LIST: &str = "/api/v1/traffic_steering_rule/list";
pub const PATH_TRAFFIC_STEERING_RULE_GET: &str = "/api/v1/traffic_steering_rule/get";
pub const PATH_TRAFFIC_STEERING_RULE_UPDATE: &str = "/api/v1/traffic_steering_rule/update";
pub const PATH_TRAFFIC_STEERING_RULE_DELETE: &str = "/api/v1/traffic_steering_rule/delete";

pub const PATH_WS_NODES: &str = "/api/v1/ws/nodes/{node_id}";

pub fn path_ws_nodes(node_id: &str) -> String {
    PATH_WS_NODES.replace("{node_id}", node_id)
}